home *** CD-ROM | disk | FTP | other *** search
- #define MAXPOOL 15
-
- struct parm_open{
- char adapter;
- char node_address[6];
- short num_rcv_buffers;
- short rcv_buffer_len;
- short dhb_buffer_len;
- char data_hold_buf;
- void * prod_id_addr;
- short dir_buf_size;
- short dir_pool_blocks;
- void *dir_pool_address;
- char dlc_max_sta;
- void *received_data;
- void *open_data;
- char maxout;
- char maxin;
- char station_count;
- short dlc_buf_size;
- short dlc_pool_len;
- void *dlc_pool_addr;
- };
-
- struct parm_close{
- short station_id[255];
- void *close_data;
- };
-
- struct parm_write{
- char command;
- short station_id;
- void *xmit_queue_one;
- void *xmit_queue_two;
- short buffer_len_one;
- short buffer_len_two;
- void *buffer_one;
- void *buffer_two;
- void *write_data;
- };
-
- struct parm_read{
- short station_id;
- char option;
- void *received_data;
- void *read_data;
- };
-
- struct parm_open_station{
- short sap_station_id;
- char maxout;
- char maxin;
- char rsap_value;
- char access_priority;
- short *dest_addr;
- void *open_st_data;
- short station_id;
- char option;
- void *received_data;
- };
-
- struct parm_connect{
- short station;
- short *route ;
- void *connect_data;
- };
-
- struct parm_close_station{
- short station_id;
- void *close_station_data;
- };
-
- struct parm_get{
- short station_id;
- char buffer_get;
- void *get_data;
- };
-
- struct parm_free{
- short station_id;
- void *buffer_one;
- void *free_data;
- };
-
- char ccb_pool[MAXPOOL][48]={'\0'};
-
-
- /*struct ccb_buf {
- struct ccb_buf *addr_ccb_buf;
- char dup[48];
- };
-
- struct ccb_buf ccb_buf1,ccb_buf2,ccb_buf3,ccb_buf4,
- ccb_buf5,ccb_buf6,ccb_buf7,ccb_buf8,
- ccb_buf9,ccb_buf10,ccb_buf11,ccb_buf12,
- ccb_buf13,ccb_buf14,ccb_buf15,ccb_buf16;
-
- struct ccb_pool {
- struct ccb_buf *addr_ccb_buf;
- ccb_buf1; ccb_buf2; ccb_buf3; ccb_buf4;
- ccb_buf5; ccb_buf6; ccb_buf7; ccb_buf8;
- ccb_buf9; ccb_buf10; ccb_buf11; ccb_buf12;
- ccb_buf13; ccb_buf14; ccb_buf15; ccb_buf16;
- };*/
-